<h1>AbetDepartments List</h1>

<table>
  <thead>
    <tr>
      <th>Dep code</th>
      <th>Dep name</th>
      <th>Dep phone</th>
      <th>Ins code</th>
      <th>Col code</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($AbetDepartments as $AbetDepartment): ?>
    <tr>
      <td><a href="<?php echo url_for('abet/showDepartment?dep_code='.$AbetDepartment->getDepCode().'&ins_code='.$AbetDepartment->getInsCode().'&col_code='.$AbetDepartment->getColCode()) ?>"><?php echo $AbetDepartment->getDepCode() ?></a></td>
      <td><?php echo $AbetDepartment->getDepName() ?></td>
      <td><?php echo $AbetDepartment->getDepPhone() ?></td>
      <td><a href="<?php echo url_for('abet/showDepartment?dep_code='.$AbetDepartment->getDepCode().'&ins_code='.$AbetDepartment->getInsCode().'&col_code='.$AbetDepartment->getColCode()) ?>"><?php echo $AbetDepartment->getInsCode() ?></a></td>
      <td><a href="<?php echo url_for('abet/showDepartment?dep_code='.$AbetDepartment->getDepCode().'&ins_code='.$AbetDepartment->getInsCode().'&col_code='.$AbetDepartment->getColCode()) ?>"><?php echo $AbetDepartment->getColCode() ?></a></td>
      <td><?php echo $AbetDepartment->getCreatedAt() ?></td>
      <td><?php echo $AbetDepartment->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('abet/newDepartment') ?>">New</a>
